package com.huaxiafinance.management.service;

import com.huaxiafinance.management.dto.request.AddSupplierDto;
import com.huaxiafinance.management.dto.request.QuerySupplierList;
import com.huaxiafinance.management.dto.request.UpdateSupplierDto;
import com.huaxiafinance.management.util.MessageResult;

import java.util.List;
import java.util.Map;


public interface MallSupplierService {

  MessageResult addSupplier(AddSupplierDto dto);

  List<Map> querySupplierList(QuerySupplierList dto);

  void updateCooperate(Integer id, Integer states);

  MessageResult updateSupplier(UpdateSupplierDto dto);

  UpdateSupplierDto queryOne(Integer id);

  List<Map> queryNameList(Integer state);
}
